//
//  ZipArchive+BlocksHelper.h
//  MissPaparazzi
//
//  Created by Alexey Aleshkov on 02.09.12.
//  Copyright (c) 2012 DzeTech. All rights reserved.
//


#import "ZipArchive.h"


typedef void(^ZipArchiveUnpackSuccessBlock)(void);
typedef void(^ZipArchiveUnpackFailureBlock)(void);


@interface ZipArchive (BlocksHelper)

+ (void)unpackFile:(NSString *)filePath toFolder:(NSString *)folderPath usingPassword:(NSString *)password successBlock:(ZipArchiveUnpackSuccessBlock)successBlock failureBlock:(ZipArchiveUnpackFailureBlock)failureBlock;
+ (void)unpackFile:(NSString *)filePath toFolder:(NSString *)folderPath successBlock:(ZipArchiveUnpackSuccessBlock)successBlock failureBlock:(ZipArchiveUnpackFailureBlock)failureBlock;

@end
